package com.yan.Demo;

import java.io.FileInputStream;
import java.io.FileNotFoundException;

public class Expection {
    public static void main(String[] args) throws ArithmeticException, FileNotFoundException {
        try {
            int[] arr = {1,2,3,4,5};
            System.out.println(arr[5]);
        } catch (Exception e) {
            System.out.println(e.getMessage());
            System.out.println(e.toString());
            e.printStackTrace();
        } finally {
            System.out.println("over");
        }

    }
}
